Image reading apparatus and method for processing images

ABSTRACT

An image reading apparatus reads image information of an original document to produce image data having different data sizes. An image converting section converts the image information into a plurality of items of image data. A display section displays a plurality of items of information on the plurality of items of image data. A selecting section allows selecting of one of plurality of items of image data.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application is a continuation, and claims the benefit under 35U.S.C. §120 of the earlier filing date, of application Ser. No.12/320,369, filed Jan. 23, 2009. Application Ser. No. 12/320,369 in turnclaims the benefit under 35 U.S.C. §119 of the earlier filing date ofJapanese application no. 2008-013742, filed Jan. 24, 2008.

BACKGROUND OF THE INVENTION

1. Field of the Invention

The present invention relates to an image reading apparatus and a methodof processing images.

2. Description of the Related Art

A conventional image reading apparatus such as a network scanner readsthe image of an original document, then converts the captured imageinformation into image data in a predetermined data format, and finallytransmits the image data to an external apparatus. Such a conventionalapparatus may process the captured image signal to reduce the resolutionof the image information, convert the image signal from color image toblack image, or compress the image information. JP No. 2007-67807Adiscloses one such apparatus.

Specifically, the apparatus of JP No. 2007-67807A discloses a datatransmitting apparatus. The apparatus processes input image data into auser's desired data size. The image data reduced in data size isdisplayed to the user, allowing the user to customize the data size ofthe image data while visually checking the data size. Then, the datatransmitting apparatus processes the image data in the process specifiedby the user, thereby reducing the resolution of the image data beforetransmitting the image data to an external apparatus.

The data transmitting apparatus performs the processing of image dataafter the user specifies the data conversion. The image data has toundergo various stages of signal processing before the user obtainsimage data having a desired data size, requiring frequent userintervention as well as making the signal processing more complex.

SUMMARY OF THE INVENTION

The present invention was made in view of the drawbacks of conventionalimage reading apparatuses.

An object of the invention is to provide image information in a user'sdesired data size without difficulty.

Another object of the invention is to provide an image reading apparatuscapable of preventing the network traffic from increasing.

An image reading apparatus reads image information of an originaldocument to produce image data. An image converting section converts theimage information into a plurality of items of image data havingdifferent data sizes. A display section displays a plurality of items ofinformation on the plurality of items of image data. A selecting sectionallows selecting of one of plurality of items of image data.

Further scope of applicability of the present invention will becomeapparent from the detailed description given hereinafter. However, itshould be understood that the detailed description and specificexamples, while indicating preferred embodiments of the invention, aregiven by way of illustration only, since various changes andmodifications within the scope of the invention will become apparent tothose skilled in the art from this detailed description.

BRIEF DESCRIPTION OF THE DRAWINGS

The present invention will become more fully understood from thedetailed description given hereinbelow and the accompanying drawingswhich are given by way of illustration only, and thus are not limitingthe present invention, and wherein:

FIG. 1 is a block diagram illustrating a scanner of the firstembodiment;

FIG. 2 is a perspective view of the scanner;

FIG. 3 is a top view of an operation panel of the scanner;

FIG. 4 is a block diagram illustrating a reading controller;

FIG. 5 is a block diagram illustrating an image processing section;

FIG. 6 illustrates first to fourth areas of an image memory and theircontents;

FIG. 7 illustrates first to fourth areas of a RAM;

FIG. 8 is a block diagram illustrating the configuration of programmodules of the first embodiment;

FIG. 9 is a first portion of a flowchart illustrating the operation ofthe scanner;

FIG. 10 is a second portion of the flowchart of FIG. 9;

FIG. 11 is a flowchart illustrating the operation of the scanner forproducing the image data to be transmitted;

FIG. 12 illustrates the contents of the RAM when a threshold value isselected to be 500 kilobytes.

FIG. 13 illustrates a selection screen of the first embodiment;

FIG. 14 is a block diagram illustrating the configuration of programmodules of a second embodiment;

FIG. 15 illustrates a selection screen of the second embodiment;

FIG. 16 is a detail setting screen;

FIG. 17 is a first portion of a flowchart illustrating the operation ofa scanner of the second embodiment; and

FIG. 18 is a second portion of the flowchart of FIG. 17.

DETAILED DESCRIPTION OF THE INVENTION First Embodiment

An image reading apparatus of a first embodiment takes the form of anetwork scanner connected to, for example, a local area network (LAN).The image data captured by the scanner is transmitted to an externalapparatus specified by a user over the LAN. The scanner provides apredetermined processing on the image data to obtain the image datahaving an appropriate data size.

The first embodiment will be described in detail. FIG. 1 is a blockdiagram illustrating a scanner 1 of the first embodiment. FIG. 2 is aperspective view of the scanner 1.

Referring to FIG. 1, an image reading section 3 reads the image printedon an original document, e.g., printed paper. The user inputs variouscommands through an operation panel 5 into the scanner 1. Then, thescanner 1 provides various types of signal processing on the imagecaptured by the image reading section 3, and the processed image data istransmitted to an external apparatus over the LAN.

The image reading section 3 may be of a flatbed type as shown in FIG. 2,and reads the image printed on the original document placed on a glassplate 9. Specifically, the image reading section 3 includes a readingsensor 11, a carriage 13, and a motor 15. The reading sensor 11 may takethe form of a CCD image sensor that emits light to the original documentand receives light reflected back from the original document. Thereading sensor 11 is mounted on the carriage 13. The motor 15 may takethe form of a stepping motor. The motor 15 drives the carriage 13 suchthat as the carriage 13 runs in the advance direction (along theoriginal document), the reading sensor 13 scans the image of theoriginal document to read the image. The captured image is an analogimage signal and is then outputted to the controller 7.

FIG. 3 is a top view of an operation panel of the scanner.

The operation panel 5 serves as an interface through which the userinputs various commands into the scanner 1. Referring to FIG. 3, aliquid crystal display (LCD) 21 displays various items of information tothe user. An LCD adjusting key 23 adjusts the position of the variousitems of information displayed on the LCD 21. Mode keys 25 allow theuser to select a specific mode of operation of the scanner 1. A numerickeypad 27 enables the user to input numerical values into the scanner 1.The user operates a start key 29 to command initiation of dataprocessing in the selected mode of operation. The user operates a stopkey 31 to stop the operation of the scanner 1. A reset key 33 isoperated by the user to reset various settings inputted into the scanner1. The operation panel 5 further includes an interrupt key 35, a helpkey 37, a power save key 39, a setting key 41, a power-on indicator 43,and an alarm lamp 45.

The LCD 21 takes the form of a touchscreen that displays software keysby which the user inputs his commands. The commands inputted through theLCD 21 are directed to the controller 7.

The mode keys 25 are used to specify a desired mode. The scanner 1 iscapable of operating in various modes: COPY MODE, SCAN TO MAIL MODE,SCAN TO FILE TRANSFER PROTOCOL (FTP) MODE, and SCAN TO MAIL BOX MODE.COPY MODE is an operation mode in which an image as scanned is printed.When the scanner 1 operates in the COPY MODE, the scanner 1 transmitsthe image data read from the original document to a printer connected tothe scanner 1, the printer printing the image data. When the scanner 1operates in the SCAN TO MAIL MODE, the scanner 1 attaches the image datato an email, and transmits the email to a mail server connected to thescanner 1. When the scanner 1 operates in the SCAN TO FTP MODE, thescanner 1 converts the image data into an image file, and then transmitsthe image file to an FTP server. When the scanner 1 operates in the SCANTO MAIL BOX MODE, the scanner 1 stores the image data into an imagememory 65 which will be described later.

The controller 7 controls the operation of the respective portions ofthe scanner 1 in accordance with the commands inputted by the userthrough the operation panel 5. The controller 7 includes a centralprocessing unit (CPU) 51, a random access memory (RAM) 53, a read onlymemory (ROM) 55, an operation panel interface (operation panel I/F,hereinafter) 57, a reading controller 59, an image processing section61, a network interface 63, and the image memory 65. The readingcontroller 59 controls the operation of the image reading section 3. Theimage processing section 61 converts the image data into a specific dataformat. The image memory 65 stores the image data that has beenconverted into the specific data format.

The CPU 51 controls the overall operation of the scanner 1 by using asystem memory, which is a part of the RAM 53. The CPU 51 operates inaccordance with a program built in the ROM 55.

The operation panel I/F 57 receives various commands inputted throughthe operation panel 5, and directs the commands to the CPU 51 over theCPU bus 67. The operation panel I/F 57 also receives information fromthe CPU 51 over the CPU bus 67, and directs the received information tothe operation panel 5. The operation panel 5 displays on the LCD 21 theinformation received from the operation panel I/F 57.

The reading controller 59 controls the image reading section 3.Specifically, the reading controller 59 provides predetermined drivesignals to the reading sensor 11 and the motor 15 in accordance with thecommands received from the CPU 5, and receives the analog image signalfrom the reading sensor 11. The reading controller 59 processes thereceived analog image signal by performing analog-to-digital conversion,shading correction, and γ correction, and then outputs a digital imagesignal obtained by the analog-to-digital conversion to an image bus 69over which the digital image signal is supplied to the image processingsection 61.

FIG. 4 is a block diagram illustrating the reading controller 59 indetail. A CPU I/F 71 functions as the interface between the CPU 51 andthe reading controller 59. A motor controller 73 supplies a controlsignal to the motor 15 to control the operation of the motor 15. Asensor controller 75 supplies a sensor drive signal to the readingsensor 11 to control the operation of the reading sensor 11. Anamplifier 77 amplifies the analog image signal received from the readingsensor 11. An analog-to-digital converter (A/D converter hereinafter) 79performs analog-to-digital conversion on the analog image signalamplified by the amplifier 77. A shading correcting section 81 performsshading correction on the image data. A γ (gamma) correcting section 83performs gamma correction on the image data. An image bus I/F 85functions as the interface between the image bus 69 and the readingcontroller 59.

The motor controller 73 generates a motor drive signal in response tothe command received from the CPU 5 through the CPU I/F 71, and suppliesthe drive signal to the motor 15 to control the motor 15. The sensorcontroller 75 also generates the sensor drive signal in response to thecommand received from the CPU 5 through the CPU I/F 71, and supplies thesensor drive signal to the reading sensor 11 to control the readingsensor 11.

The aforementioned signals drive the reading section 3 so that the imagereading section 3 scans the image on the original document to capturethe image. The captured image is an analog image signal and is inputtedinto the amplifier 77. The amplifier 77 amplifies the analog imagesignal, and supplies the amplified analog image signal to the A/Dconverter 79. The A/D converter 79 converts the analog image signal intothe digital image signal. Then, the A/D converter 79 supplies thedigital image signal to the shading correcting section 81. The shadingcorrecting section 81 performs shading correction on the digital imagesignal, thereby removing uneven density or darkness of the image. Then,the shading correcting section 81 supplies the corrected digital imagesignal to the γ correcting section 83, which in turn performs the γcorrection on the digital image signal. The digital image signal after γcorrection is outputted to the image bus 69 through the image bus I/F85. Then, the digital image signal is supplied to the image processingsection 61 over the image bus 69.

The image processing section 61 performs a plurality of processesspecified by the CPU 51 on the image data. Therefore, the imageprocessing section 61 includes a plurality of processing sections thatperform different types of signal processing, so that each processingsection performs a corresponding processing on the image data andoutputs a corresponding signal. In other words, the image processingsection 61 receives a single item of image data and outputs a pluralityof items of image data.

FIG. 5 is a block diagram illustrating the image processing section 61.A color information storing section 91 stores color conversioninformation that represents a plurality of color profiles. A colorconverter 93 performs color conversion on the image data in accordancewith the color conversion information stored in the color informationstoring section 91. A color-to-gray converter 95 converts the colorimage data into gray image data. A compressing section 97 compresses theimage data. A resolution converter 99 performs resolution conversion onthe image data. A binarizing section 101 applies binarization process tothe gray image data to generate binarized image data. A data sizedetecting section 103 detects the data size of each page of thecompressed image data. A CPU I/F 105 functions as the interface betweenthe CPU 51 and the image processing section 61. The image processingsection 61 stores the processed image data into the image memory 65through an image bus I/F 107 over the image bus 69.

FIG. 6 illustrates the first to fourth areas of an image memory 65 andtheir contents.

The image memory 65 stores a plurality of items of image data outputtedfrom the image processing section 61. The image memory 65 is partitionedinto a plurality of areas each of which stores a corresponding one ofthe plurality of items of image data. The areas include a first areathat holds image data having a resolution of 600 dpi, a second area thatholds image data having a resolution of 300 dpi, a third area that holdscompressed image data having a resolution of 600 dpi, and a fourth areathat holds compressed image data having a resolution of 300 dpi. Whenthe image data is to be transmitted to an external apparatus, the imagedata stored in one of the first to fourth areas is read out. The itemsof image data stored in the first to fourth areas are overwritten everytime a new corresponding item of image data is generated. The third andfourth areas store their corresponding items of data on a page-by-pagebasis. Every time the next succeeding page of the image data isgenerated, that page is added to a corresponding one of the first tofourth areas. For the sake of simplicity, the image memory 65 has beendescribed as being partitioned into four areas in which two types ofscanned image data and compressed data of the two types of scanned dataare stored. The image memory 65 may be partitioned into as many areas asthere are image processing functions so that each area stores image dataof a corresponding image processing function.

FIG. 7 illustrates first to fourth areas of a RAM.

The RAM 53 is also partitioned into a plurality of areas. The areasinclude a first area that stores the data size of the respective page ofthe compressed image data having a resolution of 600 dpi, a second areathat stores the data size of the respective page of the compressed imagedata having a resolution of 300 dpi, and a third area stores informationon the selected image data. In other words, third area storesinformation indicative of one of the first to fourth areas of the memory65 from which the image data was selected.

FIG. 8 is a block diagram illustrating the configuration of programmodules executed by the CPU 51. The program modules include fivemodules: a scan module 111 for reading the image of the originaldocument, a network control module 113 for transmitting the image data,an operation panel control module 115 for controlling the operationpanel 5, a data processing module 117 for processing data, and an imageprocessing module 119 for processing images.

The scan module 111 is a module for controlling the image readingsection 3. Upon executing the scan module 111, the CPU 51 sends a readcommand to the image reading section 3. Upon receiving the read command,the image reading section 3 sends the sensor drive signal to the readingsensor 11 and the motor drive signal to the motor 15. When the readingsensor 11 and motor 15 start to operate, the scanner 1 starts to readthe image of the original document. The captured image is input into theamplifier 77, which in turn amplifies the captured image and outputs theamplified image to the A/D converter 79. The A/D converter 79 convertsthe analog output of the amplifier 77 into a digital image signal. Then,the shading correcting section 81 and the γ correcting section 83 applycorresponding corrections to the digital image signal. Then, the digitalimage signal after corrections is supplied to the image memory 65through the image bus I/F 85.

The network control module 113 includes a mail transmitting module 121and an FTP transmitting module 123. The mail transmitting module 121 isused for sending emails. When the CPU 51 executes the mail transmittingmodule 121, the CPU 51 supplies a transmission command to the networkI/F 63, the transmission command specifying the destination of the emailand the image data to be attached to the email. The FTP transmittingmodule 123 is used for sending the image data to the FTP server. Whenthe CPU 51 executes the FTP transmitting module 123, the CPU 51 sends atransmission command to the network I/F 63, the transmission commandspecifying the destination (FTP server) and the image data.

The operation panel control module 115 includes a key status detectingmodule 125 and a screen displaying module 127. The key status detectingmodule 125 is used to detect the status of the keys on the operationpanel 5. When the CPU 51 executes the key status detecting module 125,the CPU 51 reads the statuses of the operation panel 5 at predeterminedtime intervals through the operation panel I/F 157, thereby detectingthe statuses of the keys. The image displaying module 127 is used tocontrol the LCD 21. When the image displaying module 127 is executed,the CPU 51 expands the image data on the RAM 53, and supplies the imagedata on display to the operation panel 5 through the operation panel I/F57.

The data processing module 117 includes a data comparing module 129, adata selecting module 131, and an amount-of-data calculating module 133.The data comparing module 129 compares the data size of the image datafor one page stored in the RAM 53 with a predetermined threshold value.This threshold value is determined taking into account the maximum datasize of data that may be communicated within the network and the datasize of image data that is actually communicated within the network. Ifthe maximum data size of data that may be communicated within thenetwork is comparatively small, the threshold value is set to low,taking into account the fact that the data to be transferred includes aplurality of items of image data. If the maximum data size iscomparatively large, the threshold value is set to high in order tomaintain the quality of image data. The user stores the thus selectedthreshold value into the ROM 55 in advance. When the CPU 51 executes thedata comparing module 129, the CPU 51 compares the data size of theimage data stored in the RAM 53 with a predetermined threshold value.The data selecting module 131 is used for selecting image data specifiedby the user from among a plurality of items of image data stored in theimage memory 65. When the CPU 51 executes the data selecting module 131,the CPU 51 selects the image data specified by the user from the imagememory 65, and reads the selected image data. The amount-of-datacalculating module 133 is used for reading the data size of thecompressed image data. When the CPU 51 executes the amount-of-datacalculating module 133, the CPU 51 calculates the sum of the data sizesstored in the first and second areas of the RAM 53.

The image processing module 119 includes a resolution converting module135, a compression module 137, an amount-of-data reading module 139, acolor converting module 141, a color-to-gray converting module 143, anda binarization module 145.

When the CPU 51 executes the resolution conversing module 135 andsupplies a command to the image processing section 61, so that theresolution converter 99 of the image processing section 61 converts theresolution of the image data to a specified resolution.

The compression module 137 is used for compressing the image data. Whenthe CPU 51 executes the compression module 137 and supplies a command tothe image processing section 61, so that the compressing section 97 ofthe image processing section 61 compresses the image data.

The amount-of-data reading module 139 is used for reading the data sizeof the compressed image data. When the CPU 51 executes theamount-of-data reading module 139 and supplies a command to the imageprocessing section 61, the data size detecting section 103 of the imageprocessing section 61 detects the data size of each page of thecompressed image data.

The color converting module 141 is used for performing color conversionon the image data. When the CPU 51 executes the color converting module141 and then supplies a command to the image processing section 61, thecolor converting module 141 of the image processing section 61 performscolor conversion on the image data.

The color-to-gray converting module 143 is used for converting colorimage data into gray image data. When the CPU 51 executes thecolor-to-gray converting module 143 and supplies a command to the imageprocessing section 61, the color-to-gray converter 95 of the imageprocessing section 61 converts the color image data to the gray imagedata.

The binarization module 145 is used for performing binarization on theimage data. When the CPU 51 executes the binarization module 145 andsupplies a command to the image processing section 61, the binarizingsection 101 of the image processing section 61 generates binary imagedata based on the image data.

FIG. 9 is a first portion of a flowchart illustrating the operation ofthe scanner.

FIG. 10 is a second portion of the flowchart of FIG. 9.

The operation of the scanner 1 will be described in detail withreference to FIGS. 9 and 10, by way of example of a “SCAN to MAIL MODE.”

The CPU 51 invokes the program in the ROM 55, causing associatedprocesses to start. At step S1, the scanner 1 makes a decision todetermine whether the start key 29 has been depressed. If YES at stepS1, the scanner 1 makes a decision to determine whether the “SCAN toMAIL MODE” has been selected (S2). If a mode other than the “SCAN toMAIL MODE”, then the scanner 1 executes the selected mode. If YES atstep S2, the scanner 1 proceeds to step S3.

At step S3, the scanner 1 reads an email destination, and enters the“READ MODE”. Specifically, the scanner 1 reads an email address inputtedby the user through the operation panel 5. Also, the scanner 1 entersthe “READ MODE” (color or monochrome) for reading an image from anoriginal document, the “READ MODE” being selected by the user.

Then, at step S4, the scanner 1 executes the scan module 111 to read theimage of one page of the original document. The scanner 1 reads theimage at the highest resolution (i.e., 600 dpi). The captured image issubjected to various corrections and processing in the readingcontroller 59, and is stored as image data having a resolution of 600dpi into the first area of the image memory 65.

At step S5, the scanner 1 reads the image data having a resolution of600 dpi from the image memory 65, and then converts the image data intoimage data having a resolution of 300 dpi. Specifically, the CPU 51executes the resolution converting module 135 to make a replication ofthe image data having a resolution of 600 dpi into the RAM 53, and thencompresses the image data in a specified data format, thereby producingcompressed image data having a resolution of 300 dpi. Then, thecompressed image data having a resolution of 300 dpi is stored into thesecond area of the image memory 65. Thus, the image memory 65 holds twotypes of image data: image data having a resolution of 600 dpi and imagedata having a resolution of 300 dpi.

At step S6, the scanner 1 compresses the image data having a resolutionof 600 dpi stored in the first area of the image memory 65.Specifically, the CPU 51 executes the compression module 137 to read theimage data having a resolution of 600 dpi from the first area of theimage memory 65. Then, the CPU 51 makes a replication of the image datahaving a resolution of 600 dpi in the RAM 53, and compresses the imagedata into a specified data format, thereby obtaining compressed imagedata having a resolution of 600 dpi. The compressed image data having aresolution of 600 dpi is stored into the third area of the image memory65. If the image memory 65 holds image data of a page corresponding tothat of the compressed image data, the CPU 51 writes the compressed dataover the existing image data.

At step S7, the scanner 1 detects the data size of the compressed imagedata. Specifically, the CPU 51 executes the amount-of-data readingmodule 139 to detect the data size of the compressed image data for onepage of the image data having a resolution of 600 dpi, which has been inthe third area of the image memory 65 at step S6. The CPU 51 stores thedetected data size into the first area of the RAM 53.

At step S8, the scanner 1 compresses the image data having a resolutionof 300 dpi, stored in the second area of the image memory 65.Specifically, the CPU 51 executes the compression module 137 to read theimage data having a resolution of 300 dpi from the second area of theimage memory 65. Then, the CPU 51 makes a replication of the image datahaving a resolution of 300 dpi in the RAM 53, and compresses the imagedata into a specified data format to produce compressed image datahaving a resolution of 300 dpi. Then, the compressed image data having aresolution of 300 dpi is stored into the fourth area of the image memory65. If the fourth area of the image memory 65 holds image data of a pagecorresponding to that of the compressed image data, the CPU 51 writesthe compressed data over the existing image data.

At step S9, the scanner 1 detects the data size of the compressed imagedata. Specifically, the CPU 51 executes the amount-of-data readingmodule 139 to detect the data size of the compressed image data having aresolution of 300 dpi, the data size being for one page of image datastored in the fourth area of the image memory 65. Then, the CPU 51stores the detected data size into the second area of the RAM 53.

At step S10, the scanner 1 makes a decision to determine whether stepsS4-S9 have been executed for all pages of the image data. Steps S4 to S9are repeated until all pages of the image data have been processed.

FIG. 10 is a flowchart illustrating the operation of the scanner forproducing the image data to be transmitted.

If YES at step S11, then the scanner 1 calculates the sum of the datasizes of the compressed image data (S11). Specifically, the CPU 51executes the amount-of-data calculating module 133 to calculate the sumof the data sizes of all pages of the image data having a resolution of600 dpi. The CPU 51 also calculates the sum of the data sizes of allpages of the image data having a resolution of 300 dpi.

Then, at step S12, the scanner 1 executes the process for producingimage data for transmission.

FIG. 11 is a flowchart illustrating the operation of the scanner forproducing the image data to be transmitted.

The specific process will be described with reference to FIG. 11.

At step S121, the scanner 1 makes a decision to determine whether thedata size of the compressed image data having a resolution of 600 dpi islarger than a threshold value. Specifically, the CPU 51 executes thedata comparing module 129 to compare the threshold value stored in theRAM 53 with the data size of the compressed image data for one pagehaving a resolution of 600 dpi. In this manner, the CPU 51 determineswhether the compared page of compressed image data may be transmitted atthe highest resolution. If the threshold value stored in the RAM 53 islarger than the data size of the compressed image data for one pagehaving a resolution of 600 dpi, the CPU determines that the compressedimage data (600 dpi) may be transmitted.

Then, at step S122, the CPU 51 writes into the third area of the RAM 53the information indicative that the image data having a resolution of600 dpi was selected. If the threshold value stored in the RAM 53 issmaller than the data size of the compressed image data for one pagehaving a resolution of 600 dpi, the CPU 51 determines that thecompressed image data (600 dpi) may not be transmitted.

Then, at step S123, the CPU 51 selects the compressed image data havinga resolution of 300 dpi, which has a lower resolution a smaller datasize than 600 dpi image data, and writes into the third area of the RAMthe information indicative that the image data having a resolution of300 dpi was selected.

Then, at step S124, the CPU 51 makes a decision to determine whether theprocess has been executed for all the pages of the image data. If NO atstep S124, then the steps S121-S123 are repeated until the process hasbeen executed for all the pages of the image data. If YES at step S124,then the contents of the RAM 53 are then as shown in FIG. 12.

FIG. 12 illustrates the contents of the RAM 53 when the threshold valueis selected to be 500 kilobytes. FIG. 13 illustrates a selection screen.

The numerical values in the first area of FIG. 12 represent data sizesof the respective pages of the compressed image data having a resolutionof 600 dpi while the numerical values in the second area of FIG. 12represent data sizes of the respective pages of the compressed imagedata having a resolution of 300 dpi. The image data in the third area ofFIG. 12 represent the resolution of the image data selected at stepsS122 and S123. As depicted in dotted line, the data size of the secondpage of the image data is larger than the threshold, i.e., 762 kilobytesis larger than 500 kilobytes. Thus, the compressed image (384 kilobytes)data having a resolution of 300 dpi (second page of compressed imagedata (300 dpi) in the fourth area of FIG. 6) is selected for the secondpage, in which case, if the compressed image data having a resolution of300 dpi exceeds the threshold, an “ERROR” is displayed.

After steps S121-S123 have been executed for all pages of the imagedata, the scanner 1 calculates the sum of the data size of all theselected image data (S125). Specifically, the CPU 51 executes theamount-of-data calculating module 133 to calculate the sum based on thecontents in the third area of the RAM 53 and the data size of thecompressed image data in the first and second areas. Upon completion ofS125, the scanner 1 proceeds to step S13 of FIG. 10.

At step S13, the scanner 1 displays a data selection screen (FIG. 13)displayed on the LCD 21. Referring to FIG. 13, a plurality of options ofimage data to be transmitted is displayed on the LCD 21. Specifically,an area A1 represents the content of the compressed data having aresolution of 300 dpi and the sum of the data size of the image data. Anarea A2 represents the content of the image data to be transmitted,produced at step S12, and the sum of the data size of the image data. Anarea A3 represents the content of the compressed image data having aresolution of 600 dpi (highest resolution) and the sum of the data sizeof the image data. The user refers to the information in areas A1-A3 toselect image data to be transmitted of a desired data size. Because thedata selection screen displays the sum of the data sizes of therespective items of image data to be transmitted, the user may selectdata taking into account the capacity of the network.

Then, the user clicks a selection button 112 to select one of theplurality of image data to be transmitted, and then clicks thetransmission button 109. Then, at step S14, the scanner 1 transmits theselected image data to a specified destination.

In this manner, a plurality of items of image data to be transmitted areproduced and the contents and data sizes of the image data may bevisually displayed to the user, so that the user knows the data size ofthe image data and selects the image data having a size of hispreference. Transmitting the thus selected image data prevents thenetwork traffic from increasing.

Second Embodiment

Elements common to those of the first embodiment have been given thesame reference numerals and their description is omitted. Thus, adescription will be given only of a portion different from that of thefirst embodiment.

FIG. 14 is a block diagram illustrating the configuration of programmodules of a second embodiment.

FIG. 15 illustrates a selection screen.

FIG. 16 is a detail setting screen of the second embodiment.

Referring to FIG. 14, a scanner of the second embodiment includes adisplay screen control module 201.

The display screen control module 201 includes a thumbnail producingmodule 203 and a display screen editing module 205. The thumbnailproducing module 205 is used for producing thumbnail data of image data.The display screen editing module 205 is used for editing a dataselection screen.

When the thumbnail producing module 203 is executed, a CPU 51 supplies acommand to an image processing section 61, so that the image processingsection 61 converts the resolution of the compressed image data storedin the third area or the fourth area of an image memory 65 into anotherresolution. Then, the image processing section 61 reads the compressedimage data from the third area and the fourth area, and converts theirresolution, thereby producing thumbnail data based on the compressedimage data. The thumbnail data is then stored into the RAM 53.

When the display screen editing module 205 is executed, the CPU 51causes the LCD 21 to display the thumbnail data stored in the RAM 53.Specifically, the CPU 51 reads the thumbnail data from the RAM 53, andplaces the thumbnail data in an area of the screen display image data onthe RAM 53. As a result, the data selection screen shown in FIG. 15 willappear on the LCD 21. The thumbnail image based on the compressed imagedata having a resolution of 300 dpi appears in an area A4. The thumbnailimage based on the compressed image data having a resolution of 600 dpiappears in an area A5. Thus, the user is allowed to visually check theimage data in more detail.

A “DETAIL” button 207 for setting the detail of the respective thumbnailimage appears on the data selection screen. When the user clicks the“DETAIL” button 207, the CPU 51 controls the LCD 21 to display a detailsetting screen as shown in FIG. 16. An area A6 represents an image basedon corresponding compressed image data. An area A7 represents the datasize of the compressed image data. An area A8 represents the sum of thedata sizes of all pages. An area A9 represents a zooming factor. An areaA10 represents the page number of the image currently on display. Thedetail setting screen allows the user to visually check the details ofthe contents of the image data.

FIG. 17 is a first portion of a flowchart illustrating the operation ofa scanner of the second embodiment. FIG. 18 is a second portion of theflowchart of FIG. 17.

The operation of the scanner will be described in detail with referenceto FIGS. 17 and 18.

After the CPU 51 invokes the program stored in the ROM 55 to initiate aseries of associated processes, at step S21, the scanner makes adecision to determine whether a start key 29 has been depressed. If YESat step S21, the scanner makes a decision at step S22 to determinewhether “SCAN TO MAIL MODE” has been selected. If a mode other than“SCAN TO MAIL MODE” has been selected, the scanner will operate in theselected mode. If the “SCAN TO MAIL MODE” has been selected, the scannerexecutes the steps at step S23 and onward.

At step S23, the scanner reads the destination of an email and entersthe “READ MODE.”

At step S24, the scanner executes the scan module 111 to read one pageof the image of an original document in a color mode. The scannerprovides various stages of signal processes on the image data read fromthe original document. The processed image data is stored as color imagedata into the image memory 65.

At step S25, the scanner reads the color image data from the imagememory 65, and performs color conversion using a first color profile andthen stores the converted image data into the first area of the imagememory 65.

At step S26, the scanner reads the image data from the first area of theimage memory 65, then performs color conversion using a second colorprofile, and finally stores the converted image data into the secondarea of the image memory 65.

At step S27, the scanner compresses the image data, which has beencolor-converted and stored in the first area of the image memory 65. Thecompressed image data is then stored into the third area of the imagememory 65.

At step S28, the scanner detects the data size of the compressed imagedata, and then stores the detected data size into the first area of theRAM 53.

At step S29, the scanner compresses the image data, which has beencolor-converted using the second color profile and stored in the secondarea of the image memory 65. Then, the compressed image data is storedinto the fourth area of the image memory 65.

At step S30, the scanner detects the data size of the compressed imagedata. The CPU 51 stores the detected data size into the second area ofthe RAM 53.

At step S31, the scanner makes a decision to determine whether stepsS24-S30 have been executed for all the pages of the image data. If NO atstep S31, steps S24-S30 will be executed until all the pages of theimage data have been processed.

If steps S24-S30 have been executed for all the pages of the image data,then scanner calculates the sum of the data sizes of the compressedimage data at step S32. At step S33, the scanner produces thumbnaildata. Specifically, the CPU 51 executes the thumbnail producing module203 to produce thumbnail data of the compressed image data, which hasgone through the color-conversion based on the first color profile, andthumbnail data of the compressed image data, which has gone through thecolor-conversion based on the second color profile. The CPU 51 storesthe thus produced thumbnail data into the RAM 53.

At step S34, the scanner controls the LCD 21 to display the dataselection screen. The user refers to the data selection screen to selectimage data to be transmitted having the user's desired data size. Thesum of the data sizes of the respective image data to be transmitted isdisplayed on the data selection screen. This allows the user to selectimage data taking the traffic capacity of the network into account.

The user clicks a selection button 114 to send one of the items of imagedata to be transmitted, and then clicks the transmission button 109.Then, at step S35, the scanner transmits the selected image data to thespecified destination.

As described above, the apparatus of the second embodiment displays thethumbnail image to the user, allowing the user to know the details ofthe content of the image data.

The present invention is not limited to the aforementioned embodiments,and may be modified in any way without departing the scope of theinvention.

For example, the threshold value of data size is selected based on thedata capacity (i.e., traffic) of the network in the aforementionedembodiments. Such a threshold value may be selected according to thedata size that can be attached to an email.

The invention being thus described, it will be obvious that the same maybe varied in many ways. Such variations are not to be regarded as adeparture from the scope of the invention, and all such modifications aswould be obvious to one skilled in the art intended to be includedwithin the scope of the following claims.

What is claimed is:
 1. A method for processing an image, comprising:obtaining first image information and second image information;producing first image data and second image data based on the firstimage information and third image data and fourth image data based onthe second image information, the first image data and the third imagedata being produced in a first data format, the second image data andthe fourth image data being produced in a second data format differentfrom the first data format; storing a plurality of the produced imagedata into a memory section; selecting from the plurality of the producedimage data stored in the memory section, selection being restricted bycomparing reference information with information about the image data;and outputting a set of image data based on the selection, the set ofimage data including both image data produced in the first data formatand image data produced in the second format.
 2. The method forprocessing an image according to claim 1, wherein: the second image datais produced based on the first image data; and the fourth image data isproduced based on the third image data.
 3. The method for processing animage according to claim 2, wherein the first image data differs fromthe second image data and the third image data differs from the fourthimage data in data size.
 4. The method for processing an image accordingto claim 1, wherein the first image data and the third image data have afirst image quality and the second image data and the fourth image datahave a second image quality, the first image quality being higher thanthe second image quality.
 5. A method for processing an image,comprising: obtaining a first image information and a second imageinformation; producing first image data and second image data based onthe first image information and third image data and fourth image databased on the second image information, the first image data and thethird image data being produced in a first data format, the second imagedata and the fourth image data being produced in a second data formatdifferent from the first data format; storing a plurality of theproduced image data into a memory section; and displaying as one ofchoices selectable information representing a set of image data, the setof image data including both image data produced in the first dataformat and image data produced in the second format.
 6. The method forprocessing an image according to claim 5, further comprising: receivinginput for selecting the selectable information based on a useroperation; and outputting, on receiving the input, the set of image databy reading both the image data produced in the first data format and theimage data produced in the second format based on selection informationset before receiving the input.
 7. The method for processing an imageaccording to claim 6, further comprising generating the selectioninformation by selecting image data from the plurality of the producedimage data stored in the memory section, selection being restricted bycomparing reference information with information about the image data.8. The method for processing an image according to claim 5, wherein: thesecond image data is produced based on the first image data; and thefourth image data is produced based on the third image data.
 9. Themethod for processing an image according to claim 8, wherein the firstimage data differs from the second image data and the third image datadiffers from the fourth image data in data size.
 10. The method forprocessing an image according to claim 5, wherein the first image dataand the third image data have a first image quality and the second imagedata and the fourth image data have a second image quality, the firstimage quality being higher than the second image quality.